import fs from 'fs'
import path from 'path'

export const getFile = fileName => {
    try {
        return fs.readFileSync(
            path.join(
                '/Users/foril/projects/conflict_resolve/test_with_vscode/tmp',
                fileName,
            ),
            'utf-8',
        )
    } catch (e) {
        console.error(e)
        return 'error reading file'
    }
}
